<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图书目录</title>
</head>

<body>
<style>
    h1 {
        color: #090;
        font-size: 40px;
    }

    li {
        color: #bb4c32;
        font-size: 20px;
    }
</style>

<h1>图书信息:</h1>

{% for item in book %}
    <li>
        <a href="{{ item.id }}">{{ item.title }}</a>
    </li>
{% endfor %}

</body>
</html>